#!/bin/bash

# CGI环境变量
echo "Content-type: text/plain"  # 必须有
echo "" # 空行分隔头信息与主体内容(必须有)

# 获取GET参数
params=($QUERY_STRING)
result=$(python feedmaker.py)

today=`date -d "0 day" +"%Y-%m-%d %H:%M:%S"`
echo "${result} at ${today}"

exit 0
